package com.webbei.HAO.action;

import com.opensymphony.xwork2.ActionSupport;
import com.webbei.HAO.service.ChSer;

public class UpdatePwd extends ActionSupport{
	private String xinpwd;
	private ChSer ser;
	private String hid;
	public String execute(){
		int id=Integer.parseInt(hid);
		System.out.println("id:"+id+"   "+"xinpwd:"+xinpwd);
		
		ser.updatePwdbyId(id, xinpwd);
		return SUCCESS;
	}
	public String getXinpwd() {
		return xinpwd;
	}
	public void setXinpwd(String xinpwd) {
		this.xinpwd = xinpwd;
	}
	public ChSer getSer() {
		return ser;
	}
	public void setSer(ChSer ser) {
		this.ser = ser;
	}
	public String getHid() {
		return hid;
	}
	public void setHid(String hid) {
		this.hid = hid;
	}
   
}
